package com.ruoyi.vehicleDispatch.service;

import java.util.List;
import com.ruoyi.vehicleDispatch.domain.SpecialTimeDispatchRule;

/**
 * 特殊时段派单规则Service接口
 * 
 * @author niuyi
 * @date 2025-08-19
 */
public interface ISpecialTimeDispatchRuleService 
{
    /**
     * 查询特殊时段派单规则
     * 
     * @param ruleId 特殊时段派单规则主键
     * @return 特殊时段派单规则
     */
    public SpecialTimeDispatchRule selectSpecialTimeDispatchRuleByRuleId(Integer ruleId);

    /**
     * 查询特殊时段派单规则列表
     * 
     * @param specialTimeDispatchRule 特殊时段派单规则
     * @return 特殊时段派单规则集合
     */
    public List<SpecialTimeDispatchRule> selectSpecialTimeDispatchRuleList(SpecialTimeDispatchRule specialTimeDispatchRule);

    /**
     * 新增特殊时段派单规则
     * 
     * @param specialTimeDispatchRule 特殊时段派单规则
     * @return 结果
     */
    public int insertSpecialTimeDispatchRule(SpecialTimeDispatchRule specialTimeDispatchRule);

    /**
     * 修改特殊时段派单规则
     * 
     * @param specialTimeDispatchRule 特殊时段派单规则
     * @return 结果
     */
    public int updateSpecialTimeDispatchRule(SpecialTimeDispatchRule specialTimeDispatchRule);

    /**
     * 批量删除特殊时段派单规则
     * 
     * @param ruleIds 需要删除的特殊时段派单规则主键集合
     * @return 结果
     */
    public int deleteSpecialTimeDispatchRuleByRuleIds(Integer[] ruleIds);

    /**
     * 删除特殊时段派单规则信息
     * 
     * @param ruleId 特殊时段派单规则主键
     * @return 结果
     */
    public int deleteSpecialTimeDispatchRuleByRuleId(Integer ruleId);
}
